#!usr/bin/node

const stdout = process.stdout;
const stdin = process.stdin;

let question = ["name","mail","qq","mobile"];
let usr = {};
let num = 0;

stdout.write(question[num]+":");
stdin.resume();
stdin.on("data",(chunk)=>{
    usr[question[num]] = chunk.toString("utf-8");
    stdout.write(question[++num]+":");
});
stdin.on("end",(chunk)=>{
  console.log(usr);
  process.exit();
});
